package com.wm.iterator;

/**
 * @ClassName: Iterator
 * @Description: 自定义迭代器接口
 * @Author: WM
 * @Date: 2023/5/8 9:16
 */
public interface Iterator {
    // 指针前移
    Object previous();

    // 指针后移
    Object next();

    boolean hashNext();
}
